package cn.lijiajia3515.cairo.auth.modules.account;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Set;

/**
 * 已保存 账号 消息
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
public class SavedAccountMessage implements Serializable {
	/**
	 * 应用id
	 */
	private String client;

	/**
	 * 账号id
	 */
	private Set<String> accountIds;

	/**
	 * 保存时间
	 */
	private LocalDateTime at;
}
